<%@page import="com.util.StringUtil"%>
<%@page import="com.bo.User"%>
<%
	response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
	response.setHeader("Cache-Control","no-store"); //Firefox
	response.setHeader("Pragma","no-cache"); //HTTP 1.0
	response.setDateHeader ("Expires", -1);
	response.setDateHeader("max-age", 0);
 %>	
<jsp:useBean id="context" scope="application" class="com.AContext" />

<%
	User loginUser = (User)request.getSession().getAttribute("loginUser");	
	if(loginUser == null){
%>
	<script type="text/javascript">
		alert("not login user , please login again ! ");
	</script>	
<%
		String loginUrl = request.getContextPath()+"/login.jsp";
		response.sendRedirect(loginUrl);
	}
%>